from logger import log
from database import Database
from storage import Storage
import json

from mapcontainer import MapContainer

SCREEN_WIDTH = 800
SCREEN_HEIGHT = 480

class GameEngine:
	def __init__(self):
		self.mapContainer = MapContainer(self)
		self.mapContainer.loadMaps(Storage().get('world', 'maps'))
		log('Created GameEngine')
		pass

	def getMap(self, name):
		return self.mapContainer.getMap(name)
